package cn.caskm.souvenirshopsystem.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum SexType {
    MAN(0, "男"),
    WOMAN(1, "女")
    ;

    SexType(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @JsonValue
    @EnumValue
    final int value;

    final String desc;
}
